// CompressCall.h

#ifndef __COMPRESS_CALL_H
#define __COMPRESS_CALL_H

#include "Common/MyFixes.h"

//This function is defined somewhere else in some CPP. Fix it
CString HResultToMessage(HRESULT errorCode);

namespace Common
{
namespace Archive
{

CString GetQuotedString(const CString &s);


HRESULT CompressFiles(
    const CString &arcPathPrefix,
    const CString &arcName,
    const CString &arcType,
    const CStringVector &names,
    bool email, bool showDialog, bool waitFinish);

HRESULT ExtractArchives(const CStringVector &arcPaths, const CString &outFolder, bool showDialog);
HRESULT TestArchives(const CStringVector &arcPaths);
//used in App.h
HRESULT Benchmark();

}
}

#endif
